package com.huanming.dsjc.modular.university.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.huanming.dsjc.modular.university.entity.Classes;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 班级管理Dao
 */
public interface ClassMapper extends BaseMapper<Classes> {

    /**
     * 查询结果
     * @param condition
     * @return
     */
    List<Map<String,Object>> list(@Param("condition")String condition);

    /**
     * 查询结果返回对象
     * @param condition
     * @return
     */
    List<Classes> listClasses(@Param("condition")String condition);
}
